﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Repository.Models
{
    public class Parent : BusinessFullEntityBase<Guid>
    {
        /// <summary>
        /// 名字
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string? PhoneNumber { get; set; }

        /// <summary>
        /// 工作单位
        /// </summary>
        public string? Workplace { get; set; }

        /// <summary>
        /// 学历
        /// </summary>
        public EnumParentDegree? Degree { get; set; } = EnumParentDegree.Unknown;

        /// <summary>
        /// 是否开通微信端
        /// </summary>
        public bool IsOpenWechat { get; set; } = false;

        /// <summary>
        /// 密码
        /// </summary>
        public string? PassWordMD5 { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public GenderType GenderType { get; set; } = GenderType.Unknown;

        /// <summary>
        /// 头像id
        /// </summary>
        public Guid? ImgId { get; set; }

        /// <summary>
        /// 考勤机卡号
        /// </summary>
        public string? MachineCardNumber { get; set; }

        /// <summary>
        /// 是否主成员
        /// </summary>
        public bool? IsPrincipalMember { get; set;}
    }
}
